{if $full_page}
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js,jquery-1.7.2.min.js"}
<script type="text/javascript" src="../js/calendar.php?lang={$cfg_lang}"></script>
<link href="../js/calendar/calendar.css" rel="stylesheet" type="text/css" />
<style>
			#tooltip{
				position:absolute;
				border:1px solid #ccc;
				background:#333;
				padding:2px;
				display:none;
				color:#fff;
			}
</style>
<!-- 商品列表 -->
<form method="post" action="" name="listForm" onsubmit="return confirmSubmit(this)">
  <!-- start goods list -->
  <div class="list-div" id="listDiv">
{/if}
<table cellpadding="3" cellspacing="1">
  <tr>
    <!--<th>
      <input onclick='listTable.selectAll(this, "checkboxes")' type="checkbox" />
      <a href="javascript:listTable.sort('id'); ">{$lang.record_id}</a>{$sort_id}
    </th>-->
    <th>{$lang.commenter}</th>
    <th >{$lang.comment}</th>
    <th><a href="javascript:listTable.sort('comment_time'); ">{$lang.comment_time}</a>{$sort_comment_time}</th>
    <th>{$lang.handler}</th>
  <tr>
  {foreach from=$comment_list item=comment}
  <tr>
    <!--<td align="left"><input type="checkbox" name="checkboxes[]" value="{$circle.id}" />{$circle.id}</td>-->
	<td align="center">{$comment.name}</td>
	<td align="center">{$comment.comment}</td>
    <td align="center">{$comment.comment_time}</td>
	
    <td align="center">
      <a href="javascript:;" onclick="listTable.remove({$comment.id}, '{$lang.drop_confirm}')" title="{$lang.remove}">{$lang.remove}</a>
    </td>
  </tr>
  {foreachelse}
  <tr><td class="no-records" colspan="10">{$lang.no_records}</td></tr>
  {/foreach}
</table>
<!-- end goods list -->
<!-- 分页 -->
<table id="page-table" cellspacing="0">
  <tr>
    <td align="right" nowrap="true">
    {include file="page.htm"}
    </td>
  </tr>
</table>
{if $full_page}
</div>
</form>
<script>
	listTable.recordCount = {$record_count};
	listTable.pageCount = {$page_count};
	
	{foreach from=$filter item=item key=key}
	listTable.filter.{$key} = '{$item}';
	{/foreach}
</script>
{include file="pagefooter.htm"}
{/if}
